const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  size: state => state.app.size,
  uploadFileUrl: state => state.app.uploadFileUrl,
  token: state => state.user.account,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  role: state => state.user.role,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  permission_routes: state => state.permission.routes,
  location: state => state.base.location,
  temp: state => state.base.temp
}
export default getters
